package com.sh.data.engine.domain.taskalarm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sh.data.engine.domain.base.model.PageResult;
import com.sh.data.engine.domain.taskalarm.model.domain.AlarmHistoryDomain;
import com.sh.data.engine.domain.taskalarm.model.param.AlarmHistoryParam;
import com.sh.data.engine.repository.dao.taskalarm.entity.TaskAlarmHistoryEntity;

/**
 * @author tinglan.ys
 * @description:
 * @date 2022/4/28 下午5:07
 */
public interface TaskAlarmHisService extends IService<TaskAlarmHistoryEntity> {

    PageResult<AlarmHistoryDomain> getAlarmHistoryPageList(
        AlarmHistoryParam request, Long projectId);

    Boolean saveTaskAlarmHistory(TaskAlarmHistoryEntity taskAlarmHistoryEntity);

}
